package cn.tedu.oop;

import java.util.Scanner;

public class Demo {
    public static void main(String[] args) {
       aaa();
//       method3();

    }

    private static void aaa() {
        try{
            method3();
        }catch(Exception e){
            System.out.println("输入的数据格式不正确！");
        }
    }

    private static void method3() {
        System.out.println("请您输入要计算的第1个整数：");
        int a=new Scanner(System.in).nextInt();
        System.out.println("请您输入要计算的第2个整数：");
        int b=new Scanner(System.in).nextInt();
        System.out.println(a/b);
    }
}
